<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<jsp:include page="../inc.jsp"></jsp:include>
<script type="text/javascript">
	var filePath = "sss";
</script>
<meta http-equiv="X-UA-Compatible" content="edge" />
<script type="text/javascript" src="${ctx}/jslib/books/video.js"></script>
<c:if test="${fn:contains(sessionInfo.resourceList, '/dictionary/edit')}">
	<script type="text/javascript">
		$.canEdit = true;
	</script>
</c:if>
<c:if test="${fn:contains(sessionInfo.resourceList, '/dictionary/delete')}">
	<script type="text/javascript">
		$.canDelete = true;
	</script>
</c:if>
<title>资源管理</title>
<script type="text/javascript">
	ctx = '${pageContext.request.contextPath}';
	loginName = '${sessionInfo.loginName}';  
</script>

</head>
<body class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',fit:true,border:false" title="档案明细">
		<table id="dataGrid" data-options="fit:true,border:false"></table>
	</div>
	<div data-options="region:'west',split:true" title="档案" style="width:300px;">
		<table id="dictionarytypeTree" style="width:180px;margin: 10px 10px 10px 10px"></table>
	</div>
	<div id="toolbar" style="display: none;">
		<c:if test="${fn:contains(sessionInfo.resourceList, '/video/fileupload')}">
			<a onclick="addFun();" href="javascript:void(0);" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon_add'">上传文件</a>
		</c:if>
		<c:if test="${fn:contains(sessionInfo.resourceList, '/video/add')}">
			<a onclick="newFun();" href="javascript:void(0);" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon_add'">新建文件夹</a>
		</c:if>
	</div>
</body>
</html>